//
//  PublicGetADListApi.m
//  ZhongKeXinHeater
//
//  Created by Kendama on 2017/6/7.
//  Copyright © 2017年 DT. All rights reserved.
//

#import "PublicGetADListApi.h"

@implementation PublicGetADListApi
{
    NSDictionary *_dic;
}

- (instancetype)initWithDic:(NSDictionary *)dic{
    if (self = [super init]) {
        _dic = dic;
    }
    return self;
}

- (NSString *)requestUrl {
    return @"/advertisement/get_list";
}

- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}

- (id)requestArgument {
    NSMutableDictionary *dic=[NSMutableDictionary getPubdic];
    
    NSString *sign=[NSString getSign:dic];
    [dic setObject:sign forKey:@"sign"];
    return dic;
}

@end
